/**
 * SysAdminRole.java
 * SysAdminRole实体映射对象
 * 
 * @author		zhoubing
 * @date   		2018-08-20 12:35:16
 * @revision	v1.0
 */
package com.jftone.bh.app.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GenerationType;
import javax.persistence.Table;
import org.jftone.model.Model;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
@Table(name="sys_admin_role")
public class SysAdminRole extends Model {
	@Column(name="user_no")
	private String userNo;

	@Column(name="role_code")
	private String roleCode;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="id")
	private Integer id;

	public String getUserNo() {
		return userNo;
	}

	public void setUserNo(String userNo) {
		this.userNo = userNo;
	}

	public String getRoleCode() {
		return roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}
